package scsc.web.xzgl.building.report.data;


import scsc.pub.data.RoomMng;
import java.io.Serializable;


public class RoomDetailRptData
    extends RoomMng
    implements Serializable {
  public RoomDetailRptData() {
    init();
  }

  private String holderName;
  private String holderCorpName;
  private String enterTime;
  private String buildName;
  private String roomTypeName;
  private String propertyRightName;

  public RoomDetailRptData(String holderName,String holderCorpName,String buildName,Integer unit,Integer floor,
		                   Integer room,String roomType,String roomTypeName,String propertyRight,String propertyRightName,
		                   String propertyRightId,String enterTime) {
	  this.setHolderName( holderName);
	  this.setHolderCorpName( holderCorpName);
	  this.setBuildName(buildName);
	  this.setUnit( unit);
	  this.setFloor( floor);
	  this.setRoom( room);
	  this.setRoomType( roomType);
	  this.setRoomTypeName( roomTypeName);
	  this.setPropertyRight(propertyRight );
	  this.setPropertyRightName(propertyRightName );
	  this.setPropertyRightId(propertyRightId );
	  this.setEnterTime( (enterTime!=null)?enterTime.substring( 0,10):"");
  }  
 
  public void reset() {
    init();
  }

  public void init() {
	  this.setHolderName( "");
	  this.setHolderCorpName( "");
	  this.setBuildName("");
	  this.setUnit( null);
	  this.setFloor( null);
	  this.setRoom( null);
	  this.setRoomType( "");
	  this.setRoomType( "");
	  this.setPropertyRight( "");
	  this.setPropertyRightName( "");
	  this.setPropertyRightId("" );
	  this.setEnterTime( "");
	    
  }



public String getBuildName() {
	return buildName;
}



public void setBuildName(String buildName) {
	this.buildName = buildName;
}



public String getEnterTime() {
	return enterTime;
}



public void setEnterTime(String enterTime) {
	this.enterTime = enterTime;
}



public String getHolderCorpName() {
	return holderCorpName;
}



public void setHolderCorpName(String holderCorpName) {
	this.holderCorpName = holderCorpName;
}



public String getHolderName() {
	return holderName;
}



public void setHolderName(String holderName) {
	this.holderName = holderName;
}



public String getPropertyRightName() {
	return propertyRightName;
}



public void setPropertyRightName(String propertyRightName) {
	this.propertyRightName = propertyRightName;
}



public String getRoomTypeName() {
	return roomTypeName;
}



public void setRoomTypeName(String roomTypeName) {
	this.roomTypeName = roomTypeName;
}




}

